/*
 * backward.cpp
 *
 *  Created on: Mar 20, 2012
 *      Author: shamirsy
 */

#include "Backward.h"

bool Backward::startCond()
{
	return true;
}

bool Backward::stopCond()
{
	return true;
}

void Backward::action()
{
	double currSpeed = this->_robot->getSpeed();
	this->_robot->setSpeed(-currSpeed-1.0,0);
}

Backward::~Backward() {
}


